<script type="text/javascript">
<!--//--><![CDATA[//><!--
  $(document).ready(function() {
  	  $('#refresh').click(function() {
         var t = new Date().getTime();
         $('#divcaptcha').html('<img src="{site_url}/image.php?to=captcha&t=' + t + '" alt="" />');
      });
  });
//--><!]]>
</script>
<form action="{site_url}/index.php?dn=mail" method="post">
<div class="forms">
 <div>
  <p><strong>*</strong> {email_name}</p>
   <input class="width" name="sendnames" type="text" maxlength="50" value="{uname}" />
  </div>
  <div>
   <p><strong>*</strong> {email}:</p>
   <input class="width" name="sendmails" type="text" maxlength="255" value="{umail}" />
  </div>
  <div>
   <p><strong>*</strong> {email_text}:</p>
   <textarea cols="40" class="width" rows="10" name="sendtexts"></textarea>
 </div>
    <!--if:captcha:yes-->
   <fieldset class="standart">
   <legend><strong>*</strong> Captcha</legend>
   <table width="100%">
    <tr>
     <td width="100%" class="ac va pad">
      <input class="width" id="captcha" name="captcha" type="text" maxlength="5" value="" />
     </td>
     <td class="ac va pad">
     <div id="divcaptcha"><img src="{site_url}/image.php?to=captcha" alt="" /></div>
     </td>
     <td class="ac va pad">
     <button type="button" id="refresh" class="sub"><span><em>{all_refresh}</em></span></button>
     </td>
    </tr>
   </table>
   </fieldset>
   <!--if-->
   <!--if:control:yes-->
   <fieldset class="standart">
    <legend><strong>*</strong> {control_word}</legend>
    <p>{control}</p>
    <p><input class="width" id="respon" name="respon" size="30" type="text" maxlength="255" value="" /></p>
    <input name="cid" type="hidden" value="{cid}" />
    </fieldset>
   <!--if-->
   <div class="pad ac">
     <input name="to" type="hidden" value="send" />
     <button type="submit" class="sub"><span><em>{email_send}</em></span></button>
   </div>
  <div class="clear"></div>
</div>
</form>
